import Vue from 'vue'
import Router from 'vue-router'
import routesArray from './moduls'

Vue.use(Router);

routesArray.push({
  path: '/',
  name:'/',
  components: require('../page/login.vue')
});

let router = new Router({
  mode:'history',
  base:'/app/',
  routes:routesArray
});
export default router;
